package com.ljf.spring.token;

import com.ljf.framework.security.token.LjfTokenConfig;
import com.ljf.framework.security.token.LjfTokenManager;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 说明：token注入
 *
 * @Auther: lijinfeng
 * @Date: 2024/4/24
 */
public class TokenBeanInject {

    /**
     * 注入配置Bean
     */
    @Autowired(required = false)
    public void setTokenConfig(LjfTokenConfig config) {
        LjfTokenManager.setLjfTokenConfig(config);
    }


}
